/*
 * @Description: 
 * @Autor: lizhengkun
 * @Date: 2021-08-10 11:01:24
 */
import request from '@/services/request';

export interface IReqToken {
  mobile: string;
  password: string;
}

export async function getToken(params: IReqToken) {
  return request('/auth/jwt/userToken', {
    method: 'POST',
    contentType: 'application/json',
    data: { ...params }
  });
}

// 获取用户信息
export async function getUserInfo() {
  return request('/ov-user/user/userInfo', {
    method: 'GET'
  });
}


